From 71ef41a99fca2dbac123c8aa57e1933554a47667 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Fri, 29 Sep 2017 15:36:55 -0400 Subject: [PATCH] Fix some typos in docs and error messages --- src/cargo/core/features.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cargo/core/features.rs b/src/cargo/core/features.rs index c73c1bc47..4bfafc174 100644 --- a/src/cargo/core/features.rs +++ b/src/cargo/core/features.rs @@ -18,7 +18,7 @@ //! the `Manifest::feature_gate` function, but otherwise you may wish to //! place the feature gate elsewhere in Cargo. //! -//! 3. Do actually perform the feature gate, you'll want to have code that looks +//! 3. To actually perform the feature gate, you'll want to have code that looks //! like: //! //! ```rust,ignore @@ -148,7 +148,7 @@ impl Features { }; if *slot { - bail!("the cargo feature `{}` has already bene activated", feature); + bail!("the cargo feature `{}` has already been activated", feature); } match status { @@ -200,7 +200,7 @@ impl Features { } } -/// A parsed represetnation of all unstable flags that Cargo accepts. +/// A parsed representation of all unstable flags that Cargo accepts. /// /// Cargo, like `rustc`, accepts a suite of `-Z` flags which are intended for /// gating unstable functionality to Cargo. These flags are only available on -- 2.30.2